<%--
  Created by IntelliJ IDEA.
  User: 52203
  Date: 2018/12/27
  Time: 16:28
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@page isELIgnored="false"%>
<html>
<head>
    <title>Title</title>
    <base href="<%=request.getContextPath()%>/"/>
    <%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
    <script src="static/js/jquery-2.1.1.min.js"></script>
    <%@include file="../layUI.jsp"%>
</head>
<body>
<form action="loginServlet?action=userUpdate&type=updateOther" method="post">
    ID<input type="text" value="${selectSuperUserById.id}" name="id" readonly>
    姓名<input type="text" value="${selectSuperUserById.userName}" name="userName">
    身份证号<input type="text" value="${selectSuperUserById.userID}" name="userId">
    登录名<input type="text" value="${selectSuperUserById.userLoginName}" name="userLoginName">
    <input type="submit" value="修改完成" class="layui-btn">
</form>
</body>

<script type="text/javascript">
    $(function () {
        var ir = '${param.ir}';
        if (ir != null && ir != "" && ir != undefined) {
            if (ir == 1) {
                alert("操作成功！");
                return;
            }
            else {
                alert("操作失败！");
                return;
            }
        }
    })
</script>
</html>
